﻿using Whoever.Patterns.Data;
using Whoever.Framework.Base;

namespace Whoever.Patterns.Business
{
    interface IManager<TEntity> : IRepository<TEntity> where TEntity : BusinessEntity, new()
    {
        /// <summary>
        /// Fills each selectable relation ship property from ViewModel parameter
        /// </summary>
        /// <param name="entity"></param>
        void FillSelectablesRelations(ViewModel<TEntity> model);
    }
}
